package com.fjh.springboot_01.pojo.homework;

import lombok.Data;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class KnowledgePoint {
    private Integer id;
    private String name;
    private String description;
    private Integer categoryId;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    
    // 非数据库字段，用于构建树形结构
    private List<KnowledgePoint> children;
    
    // 非数据库字段
    private String categoryName;
} 